# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=nq
pkgver=0.4
pkgrel=0
pkgdesc="Unix command line queue utility"
url="https://github.com/leahneukirchen/nq"
arch="all"
license="CC0-1.0"
checkdepends="perl-utils"
subpackages="$pkgname-doc"
source="nq-$pkgver.tar.gz::https://github.com/leahneukirchen/nq/archive/v$pkgver.tar.gz"

build() {
	make
}

check() {
	make check
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="c4587c2074dd6e3d18d56a273b943b2594f6ea73912d774120706dbcb6a64e0b7a99c4da7283cbe0d3d47eb24fa246625e9180a88ee2e0cacc647de8c8606c38  nq-0.4.tar.gz"
